<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head th:replace="/common/template :: header(~{::title},~{::link},~{::style})">
    <title>后台主页</title>
</head>
<body class="layui-layout-body">
<div class="layui-layout layui-layout-admin">
    <!-- 导航栏 -->
    <div class="layui-header">
        <a href="#" class="layui-logo">
            <span class="layui-logo-mini">代理商</span>
            <span class="layui-logo-lg">代理商后台</span>
        </a>
        <a class="side-toggle layui-layout-left" href="#">
            <i class="layui-icon layui-icon-shrink-right"></i>
            <i class="layui-icon layui-icon-spread-left"></i>
        </a>
        <ul class="layui-nav layui-layout-right">
            <!--<li class="layui-nav-item timo-search">
              <input class="timo-search-input" type="search" placeholder="搜索">
              <button class="timo-search-button"><i class="fa fa-search"></i></button>
            </li>
            <li class="layui-nav-item">
                <a href="#">
                    <i class="fa fa-bell-o fa-lg"></i>
                </a>
            </li>
            -->
            <li class="layui-nav-item">
                <a class="timo-screen-full" href="#">
                    <i class="fa layui-icon layui-icon-screen-full"></i>
                </a>
            </li>
            <li class="layui-nav-item timo-nav-user">
                <a class="timo-header-nickname" th:text="${agent?.nickname}">QKY</a>
                <div class="layui-nav-child">
                    <div class="timo-nav-child-box">
                       <!-- <div><a class="open-popup" data-title="个人信息" th:attr="data-url=@{/agent/userInfo}"
                                data-size="680,464">
              <i class="fa fa-user-o"></i>个人信息</a></div>-->
                        <div><a class="open-popup" data-title="修改密码" th:attr="data-url=@{/agent/editPwd}"
                                data-size="456,296"><!--
              --><i class="fa fa-lock" style="font-size:17px;width:12px;"></i>修改密码</a></div>
                        <div><a th:href="@{/agent/logout}"><i class="fa fa-power-off"></i>退出登录</a></div>
                    </div>
                </div>
            </li>
        </ul>
    </div>

    <!-- 侧边栏 -->
    <div class="layui-side layui-bg-black">
        <div class="layui-side-scroll">
            <div class="layui-side-user">
                <img class="layui-side-user-avatar open-popup" th:attr="data-url=@{/agent/userInfo}" data-size="680,464"
                     th:src="${agent?.headimg}" alt="头像">
                <div>
                    <p class="layui-side-user-name" th:text="${agent?.nickname}">TIMO</p>
                 </div>
            </div>
            <!-- 导航区域 -->
            <ul class="layui-nav layui-nav-tree" lay-filter="layui-nav-side">
                <li class="layui-nav-item layui-this">
                    <a href="javascript:;" lay-url="/index" lay-icon="true"><i class="layui-icon layui-icon-home"></i><span class="layui-nav-title">主页</span></a>
                    
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;" lay-url="#"><i class="fa fa-comment-o"></i><span class="layui-nav-title">信息管理</span><span class="layui-nav-more"></span></a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:;" lay-url="/message/index"><span class="layui-nav-title">信息查看</span></a>
                        </dd>
                        <dd>
                            <a href="javascript:;" lay-url="/message/topindex"><span class="layui-nav-title">置顶信息</span></a>
                        </dd>
                       <!--  <dd>
                            <a href="javascript:;" lay-url="/message/shenheindex"><span class="layui-nav-title">待审核信息</span></a>
                        </dd>-->
                    </dl>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;" lay-url="#"><i class="fa fa-university"></i><span class="layui-nav-title">商户管理</span><span class="layui-nav-more"></span></a>
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:;" lay-url="/store/index"><span class="layui-nav-title">商户查看</span></a>
                        </dd>
                        <dd>
                            <a href="javascript:;" lay-url="/store/topindex"><span class="layui-nav-title">置顶商户</span></a>
                        </dd>
                        <!-- <dd>
                            <a href="javascript:;" lay-url="/store/shenheindex"><span class="layui-nav-title">待审核商户</span></a>
                        </dd>-->
                    </dl>
                </li>
               <li class="layui-nav-item">
                    <a href="javascript:;" lay-url="#"><i class="fa fa-university"></i><span class="layui-nav-title">广告管理</span><span class="layui-nav-more"></span></a>
                 
                    <dl class="layui-nav-child">
                        <dd>
                            <a href="javascript:;" lay-url="/ad/index"><span class="layui-nav-title">广告查看</span></a>
                        </dd>
                        <!-- 
                        <dd>
                            <a href="javascript:;" lay-url="/ad/shenheindex"><span class="layui-nav-title">待审核广告</span></a>
                        </dd>-->
                    </dl>
                </li>
                 <li class="layui-nav-item">
                    <a href="javascript:;" lay-url="/order/index"><i class="fa fa-user"></i><span class="layui-nav-title">订单记录</span></a>
                </li>
                 <li class="layui-nav-item">
                    <a href="javascript:;" lay-url="/agentmoney/index"><i class="fa fa-user"></i><span class="layui-nav-title">提现管理</span></a>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;" lay-url="/member/index"><i class="fa fa-user"></i><span class="layui-nav-title">会员管理</span></a>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;" lay-url="/areacount/toupdate"><i class="fa fa-user"></i><span class="layui-nav-title">基础销量</span></a>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;" lay-url="/member/agentContact/edit"><i class="fa fa-user"></i><span class="layui-nav-title">我的联系方式</span></a>
                </li>
                <li class="layui-nav-item">
                    <a href="javascript:;" lay-url="/feedback/index"><i class="fa fa-user"></i><span class="layui-nav-title">反馈列表</span></a>
                </li>
                <!-- <li class="layui-nav-item">
                   <a href="javascript:;" lay-url="/notice/index"><i class="fa fa-user"></i><span class="layui-nav-title">消息中心</span></a>
               </li> -->
            </ul>
        </div>
    </div>
    <!-- 主体区域 -->
    <div class="layui-body layui-tab layui-tab-brief" lay-allowclose="true" lay-filter="iframe-tabs">
        <!-- 标签栏 -->
        <ul class="layui-tab-title"></ul>
        <!-- 内容区域 -->
        <div class="layui-tab-content"></div>
    </div>
</div>
<script th:replace="/common/agenttemplate :: agentscript"></script>
</body>
</html>
